Fix cnp bug in _gtk_bitmask_intersects
authorAlexander Larsson <alexl@redhat.com>
Fri, 9 Nov 2012 08:05:47 +0000 (09:05 +0100)
committerAlexander Larsson <alexl@redhat.com>
Fri, 9 Nov 2012 09:11:47 +0000 (10:11 +0100)
commit77912a65e2aa6eb9cfee994fa93bbfbc6b9f8538
tree9697aa5db4a075115004a61e67ca06850af6d723
parent8a40d8fe2a756763e4370c45c0abc0ed641636df
Fix cnp bug in _gtk_bitmask_intersects

We need to use the allocated codepath if *any* argument is
allocated, not if one arg is not allocated.
This bug caused unnecessary calls to _gtk_bitmask_is_allocated,
as well as return completely wrong result if both bitmask are
allocated.
gtk/gtkbitmaskprivateimpl.h